home *** CD-ROM | disk | FTP | other *** search
- rem Sample batch file for FileFrwd on an Opus Outbound system
- rem
- rem This uses ConfMail, substitute ScanMail/TossMail as needed
- rem
-
- rem run FileFrwd to get any transit files, or files whose
- rem final destination is this system.
-
- FileFrwd -f FileFrwd.Ctl
-
- rem Do the Toss/Scan Stuff
-
- ConfMail Import Areas.BBS -K -N -F ConfMail.Out -a arce
- if errorlevel 2 goto Severe_Err
- if errorlevel 1 goto Do_Maint
- goto End_Import
-
- :Do_Maint
- ConfMail Maint -F ConfMail.Out
- if errorlevel 2 goto Severe_Err
-
- :End_Import
- ConfMail Export Areas.BBS -M 1000 -G -O F:\Opus\Outbound
- if errorlevel 2 goto Severe_err
- goto End_Export
-
- :Severe_Err
- Echo Severe Error in ConfMail Processing
-
- :End_Export
-
- rem Run oMMM to pack up the messages
-
- oMMM -hF:\Opus\Outbound -mF:\Opus\NetMail -i\Opus\Opus.BBS -c\Opus\oMMM.Ctl -p\Opus\PreScan.Ctl -sE
-
- rem This pass forwards any files that were just generated...
-
- FileFrwd -f FileFrwd.Ctl
-
- rem Run oMMM to pack up the attach messages just generated
-
- oMMM -hF:\Opus\Outbound -mF:\Opus\NetMail -i\Opus\Opus.BBS -c\Opus\oMMM.Ctl -p\Opus\PreScan.Ctl -sE
-
- rem
- rem That's it.....
-